package org.corf.endpoint;

import org.corf.payload.PayloadHeaderKey;

public enum JmsPayloadHeaderKey {

    PAYLOAD_ID(PayloadHeaderKey.PAYLOAD_ID, "corf.payload-id"),
    PAYLOAD_TYPE(PayloadHeaderKey.PAYLOAD_TYPE, "corf.payload-type");

    private final PayloadHeaderKey payloadHeaderKey;
    private final String messagePropertyKey;

    private JmsPayloadHeaderKey(PayloadHeaderKey payloadHeaderKey, String messagePropertyKey) {
        this.payloadHeaderKey = payloadHeaderKey;
        this.messagePropertyKey = messagePropertyKey;
    }

    public PayloadHeaderKey getPayloadHeaderKey() {
        return payloadHeaderKey;
    }

    public String getMessagePropertyKey() {
        return messagePropertyKey;
    }

}
